﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TheClerk.Access;

namespace TheClerk.Forms
{
    /// <summary>
    /// That which is contained in the Container.
    /// </summary>
    /// <remarks>
    /// A parcel holds a box holds an envelope holds a disclosure holds a
    /// field holds a datum (with its metadata).
    /// 
    /// A datum is always itself a container, of "the content
    /// and all metadata".
    /// 
    /// 
    /// </remarks>
    internal abstract class Containee : Container
    {

        // who am I contained by?
        internal Container MyContainer { get; private set; }

        // create following scenarios:
        // New containee with no container: Universe
        // New containee with specified container
        // Copy of containee with container specified

        Containee(Container tocontain = null, Containee tocopy = null)
        {
            MyContainer = tocontain;

        }

    }
}
